[Part 2] Onyx.connect() removal for ONYXKEYS.COLLECTION.REPORT_NAME_VALUE_PAIRS in ReportUtils.ts#79832
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
@DylanDylann Updated |
|
If you add archivedReportsIDSet to getSecondaryTransactionThreadActions, also remove isChatReportArchived in the same PR (same for --> A suggestion to avoid creating a big PR: try not to touch too many functions at once. Let's fully complete function A before moving on to the next one. With this approach, it'll be easier to manage and we'll be less likely to miss anything |
|
Updated |
Reviewer Checklist
Screenshots/Videos
|
831e922 to
c5d7849
Compare
|
🚧 @blimpich has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.4.2-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: no documentation changes required. I reviewed the changes in this PR against the help articles under Why no docs are needed:
Help articles document user-facing product behavior, and this PR introduces no new or changed behavior, so there is nothing to update on the help site. If you believe a specific user-facing behavior did change here that should be documented, reply with |
|
@ShridharGoel @DylanDylann @JmillsExpensify Could you please confirm if we should test this PR on Android and iOS apps? Step 7 of this Test is fail for apps, user is redirected to Home page. Is this WAD? screen-20260610-110148-1781078473766.1.mp4 |
|
@ShridharGoel The flow has already been changed. Could you please revise this test step accordingly? |
|
Updated |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.4.4-1 🚀
Bundle Size Analysis (Sentry): |
Help site review: no docs changes requiredI reviewed the changes in this PR against the help site articles under Why: This is a pure internal refactor with no user-facing behavior change. Specifically, it:
The PR introduces no new feature, UI element, tab, setting, button, or label — and the author's own QA note confirms "Everything should work as before." Help site articles document user-facing product behavior, which is unchanged here, so there is nothing to add or update. Since no docs changes are needed, I did not create a draft help site PR. If you believe a specific article should be updated, let me know which one and I'll take another look. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.4.4-3 🚀
|


Explanation of Change
Here, we are passing archived‑report info into IOU/report selection and edit logic, and into search selection, so archived chats are consistently filtered and edit actions don’t target archived reports. We also remove the old
Onyx.connectcall since now all callers use the new hook‑based data.Fixed Issues
$ #66422
PROPOSAL:
Tests
Offline tests
QA Steps
Sanity testing should be enough. Everything should work as before.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-02-21.at.3.20.08.PM.mov